<?php
	####################################################
	# library import and object instance.              #
	####################################################
	include_once('./common.php');
	include_once('./ncrud_common.php');


	####################################################
	# request data($_POST AND $_GET FROM $_REQUEST)    #
	####################################################
	# REQUEST(get and post variables)
	$req = Request::clean_request($_REQUEST, FALSE);

	# GET(url variables)

	# POST(form variables)

	# Validation(special case validate)
	//*/
	Validation::check_is_emptys($req);
	//*/

	####################################################
	# implementation                                   #
	####################################################
?>
<?php
	$html->custom_header(TITLE);
	$html->custom_js("{$JS}jquery.1.7.1.min.js");
	$html->custom_js("{$JS}lib.control.js");
	$html->custom_css("{$CSS}basic.css");
?>
<?$html->custom_body();?>
<?=$tmp->tiles_header()?>
	<h1>ncrud - delete</h1>
	<form id="formx" name="formx" method="post" action="./ncrud_delete_proc.php" onsubmit="return PageAction.validate();">
		<input type="hidden" name="buid" id="buid" value="<?=$req['buid']?>" />
		<table width="100%" border="1" cellspacing="3" cellpadding="0">
			<tr>
				<td>
					삭제를 원하시면 확인을 눌러주십시오.
				</td>
			</tr>
			<tr>
				<td>
					<?=NTool::submit_btn();?>
				</td>
			</tr>
		</table>
	</form>
	<?=NTool::btn("조회", "Mover.href('./ncrud_retrieve.php?buid={$req['buid']}');");?>
	<?=NTool::btn("수정", "Mover.href('./ncrud_update.php?buid={$req['buid']}');");?>
	<?=NTool::btn("리스트", "Mover.href('./ncrud_list.php');");?>
	<span> | </span>
	<?=NTool::btn("뒤로", "Mover.back();");?>
	<?=NTool::btn("인덱스", "Mover.home();");?>
<?=$tmp->tiles_footer()?>
<?php $html->html_footer(); ?>